package com.qingpeng.pay.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.qingpeng.pay.R;
import com.qingpeng.pay.beans.WithdrawBean;

public class MoneyRecordAdapter extends BaseQuickAdapter<WithdrawBean.DataProductBean, BaseViewHolder> {


    public MoneyRecordAdapter(int layoutResId) {
        super(layoutResId);
    }

    @Override
    protected void convert(BaseViewHolder helper, WithdrawBean.DataProductBean item) {
        helper.setText(R.id.money, item.getMoney() + "元")
                .setText(R.id.time, item.getCreatime())
                .setText(R.id.status,item.getRemark());
    }
}
